cook up a plan

Translations
придумать план
They managed to cook up a plan to solve the problem.
Они сумели придумать план, чтобы решить проблему.